home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Applications 2004 May / SGI IRIX 6.5 Applications 2004 May.iso / dist / desktop_tools.idb / usr / lib / jot / jot.doc.z / jot.doc
Encoding:
Text File  |  1998-05-04  |  44.9 KB  |  1,333 lines

  1. To find help on a topic, select the topic (easy to
  2. do by double-clicking with the left mouse button),
  3. and then hold down the Alt key and type "f", or
  4. just scroll with the left mouse in the scroll bar.
  5.  
  6.     Accelerators
  7.     AppendToCutBuffer
  8.     Backups
  9.     BackwardTab
  10.     ChangingCase
  11.     CheckpointFiles
  12.     CommandRemapping
  13.     Ctags
  14.     CutCopyPaste
  15.     DialogBoxes
  16.     DragSelection
  17.     Editing
  18.     ElectricCMode
  19.     ExtendSelection
  20.     Filters
  21.     FilterExamples
  22.     Indentation
  23.     InsertingFiles
  24.     JumpToLineNumber
  25.     LineNumbers
  26.     LongLines
  27.     Macros
  28.     Marks
  29.     NonStandardCharacters
  30.     Notation
  31.     OpeningFiles
  32.     ParenthesisMatching
  33.     PullDownMenu
  34.     Preferences
  35.     QueryReplace
  36.     RedoCommand
  37.     ReformattingParagraphs
  38.     RegularExpressions
  39.     RepeatCounts
  40.     RepeatLastCommand
  41.     ReverseSearch
  42.     ScrollingThroughText
  43.     SearchAndReplace
  44.     SearchMultipleFiles
  45.     SearchingForText
  46.     Selection
  47.     SelectWord
  48.     ShowCutBuffer
  49.     ShowLineNumber
  50.     SpeedKeys
  51.     SplitWindow
  52.     StartupFlags
  53.     Tutorial
  54.     TwoWindows
  55.     TypingCharacters
  56.     UndoCommand
  57.     ViewOnlyMode
  58.     Warnings
  59.     WhatIsJot
  60.     WindowHeader
  61.     WordWrap
  62.     XWindowsCutbuffer
  63.  
  64. This file belongs in /usr/local/doc/jot.doc.  Remember
  65. that this is just on-line help; there's a more complete jot
  66. reference guide available with the Insight reader.
  67.  
  68. Notation:
  69.  
  70. In this file, <A-x> means "Hold down the left Alt key and
  71. type an x".  <A-X> means to hold down both the left Alt and
  72. shift keys while you type x.  C stands for the control
  73. key, and S for the shift key.  <A-C-S-rightmouse> would
  74. mean to hold down Alt, Control, and Shift when you
  75. press the right mouse button.
  76.  
  77. WhatIsJot?
  78.  
  79. Jot is a mouse-based cut-and-paste text editor that is
  80. very fast, has a Showcase like user interface with the
  81. addition of a set of keyboard commands that emulate
  82. many default EMACS commands.  There are a lot of
  83. speed-key commands.  It was originally written by Tom
  84. Davis, with moral support from Derrick Burns, and was
  85. called "zip".  All the bugs are due to Tom.  Chris
  86. Eveland helped to convert it to the standard Silicon
  87. Graphics look and feel.
  88.  
  89. Jot does no automatic line breaking, but the window
  90. can be reshaped to see longer lines, the right mouse
  91. with the control and alt buttons pans the view, and
  92. <A-C-rightarrow> and <A-C-leftarrow> scroll right and
  93. left.
  94.  
  95. You can use jot to look at arbitrary binary files, and
  96. characters other than the standard ASCII characters are
  97. represented as a special character that looks like a box
  98. with an 'x' in it, followed by two hex digits.  Of
  99. course, since lines aren't broken automatically, it may
  100. be hard to see the ends of such lines.
  101.  
  102. StartupFlags:
  103.  
  104. jot [-fvxM [-p xmin,xmax,ymin,ymax] \
  105.         [-l linenumber | +linenumber] [file ...]
  106.  
  107. If you don't give a file name, and there is no file in
  108. the current directory named ".jotcruftXXX" (where XXX
  109. is your user id), jot will use the name
  110. "default.jot".  If the file .jotcruft appears, jot
  111. will read that file and restore the open file and
  112. reopen list exactly as it was the last time you edited
  113. in that directory.  The restoration behavior can be
  114. disabled by including the line "nojotcruft" in your
  115. .jotrc file.  The "-f" option runs jot in the
  116. foreground.  The "-p" option sets the window position
  117. in screen coordinates.  It overrides the settings (if
  118. any) in your .jotrc file.  If you give multiple file
  119. names, jot visits the first, and the remaining files
  120. are put on the file cycle list whose use is documented
  121. in the section of "Dialog Boxes", below.  Jot
  122. understands your shell's special characters (such as
  123. *, ~, ?, ...) in filenames.
  124.  
  125. The "-v" option invokes jot in viewing only mode.
  126. (Read-only files are opened in viewing only mode.)
  127.  
  128. If you want to be able to place the jot window with the
  129. mouse rather than have it placed automatically, use the
  130. -p option, but make xmin and ymin negative.  You have
  131. to put in values for xmax and ymax, but they are
  132. ignored.  xmin and ymin will be interpreted as the
  133. negatives of the window size.  Thus to make a window
  134. that is 600 by 800 pixels that is placed with the
  135. mouse, use the command line:
  136.  
  137. jot -p -600,0,-800,0
  138.  
  139. The -l option lets you give the line number of the file
  140. that will appear at the top of the jot window. If this
  141. option is specified as "+linenumber", it must be
  142. specified after all the other options and before the
  143. first filename.
  144.  
  145. The -M (mmap) option tells jot to mmap() the file.  This
  146. will be faster, but if another process touches the file
  147. while jot is using it, jot may crash.  The -M flag is
  148. particularly useful for editing giant files.
  149.  
  150. The -x option overrides making backup and checkpoint files.
  151. This is useful when using jot as your mail or news editor.
  152.  
  153. TwoWindows:
  154.  
  155. If you want to cut and paste between two files, open
  156. two jot sessions, and cut from one and paste into the
  157. other.  You might make a file like the following,
  158. called 'jot2':
  159.  
  160. ----------------
  161. #! /bin/csh -f
  162. jot -p500,1272,520,992 $argv[1]
  163. jot -p500,1272,8,480 $argv[2]
  164. ----------------
  165.  
  166. and put it in your ~/bin.  Then use 'jot2 file1 file2'
  167. and get two nicely-placed files.  See also the section
  168. on splitting windows.
  169.  
  170. Use the left mouse button for selection, pull-down
  171. menus, and scrolling, double click for word
  172. select, and the right mouse + Alt + Ctrl for panning.
  173.  
  174. Warnings:
  175.  
  176. If you're editing a giant file, make sure there's room
  177. for a copy of the file on your file system if you plan
  178. to write it out.  Jot writes a copy, and then renames
  179. it to the original file name.
  180.  
  181. Preferences:
  182.  
  183. (Backups, CheckpointFiles)
  184.  
  185. When it starts, jot looks for a file in your home
  186. directory called ".jotrc".  Currently, this file can
  187. contain any of the following 12 lines:
  188.  
  189. autoaddnewline
  190. autoindent
  191. autosavecount <count>
  192. backups
  193. colors <backcolor> <textcolor> <cursorcolor> <selectcolor>
  194. commentcolumn <column>
  195. cyclesearch
  196. electriccmode
  197. expertmenus
  198. fontpath <absolute path>
  199. hardtabsize <size>
  200. incrsearch
  201. jotcruft
  202. leftscroll
  203. linenumbers
  204. locale <file>
  205. mapkey <key> <meta> <cmd>
  206. margin <rightmargin>
  207. markcolor <color>
  208. nobrowsegizmo
  209. nocase
  210. nopulldown
  211. oldstyle
  212. position <xmin> <xmax> <ymin> <ymax>
  213. rightmousepan
  214. tabsize <size>
  215. undobuffersize <count>
  216. wordwrap
  217.  
  218. The names in <> represent numbers or filenames; for position, they
  219. are screen coordinates (with negative numbers being
  220. interpreted as in the -p option), and for colors, they
  221. are indices into the color map.  If a line with the
  222. word "backups" appears in the profile, a backup file
  223. (with extension ".bak" will be written before editing
  224. starts.  The margin option sets the right margin for
  225. paragraph reformatting.  Jot does not produce backup
  226. files if it is in view only mode.
  227.  
  228. The option "nobrowsegizmo" causes jot never to try to use the
  229. Showcase browse gizmo, even if it is installed.  If
  230. "autoaddnewline" appears, jot will automatically add a
  231. newline to the end of any file if the file does not end
  232. in one already.  The number following "autosavecount"
  233. is the number of keystrokes jot waits before writing
  234. out a checkpoint version of the file being edited.  If
  235. it is zero, no checkpoints will be made.  The checkpoint
  236. files have the extension ".sav".  No checkpoint files
  237. are written if jot is in viewing only mode.
  238.  
  239. "expertmenus" causes jot to use the complete menues by
  240. default.
  241.  
  242. "locale" causes jot to use the named file for names in
  243. pulldown menus, error messages, et cetera.
  244.  
  245. "oldstyle" causes jot to behave as much like the original
  246. "zip" editor as possible.
  247.  
  248. "oldaccelerators" causes jot to use the emacs-like Alt 
  249. bases menu accelerators, instead of standard accelerators.
  250.  
  251. "rightmousepan" makes jot interpret the right mouse button
  252. as panning, as opposed to the default pull-down menu.
  253.  
  254. "markcolor" sets the colors of the marks and of the
  255. line numbers, if they're displayed.
  256.  
  257. "undobuffersize" can make a larger undo buffer.  It is
  258. 2000 by default.  "incrsearch" makes all searches and
  259. reverse searches incremental.  See the section on
  260. searching.
  261.  
  262. "wordwrap" causes jot to word-wrap long lines (longer
  263. than the margin) if you are typing at the end of the
  264. line.
  265.  
  266. "nopulldown" causes jot to come up without the
  267. pull-down menu.
  268.  
  269. "tabsize" changes the advance caused by typing the <tab>
  270. key.  The tabs in your file are still to multiples of 8,
  271. but a tabsize other than 8 will cause the insertion of
  272. the correct number of tabs and spaces to advance to the
  273. next multiple of tabsize.  Any spaces before the cursor
  274. are eliminated, if possible.
  275.  
  276. "hardtabsize" makes the tab characters in jot represent
  277. some number other than 8 columns.  It affects tabsize in
  278. the obvious way
  279.  
  280. "electriccmode" causes jot to behave differently in files
  281. with suffixes ".c", ".h", ".C", ".c++", and ".C++".  See
  282. the section on electric-c.
  283.  
  284. "fontpath" lets you specify an absolute path name for a
  285. fixed pitch font for jot to use.  The X fonts are typically
  286. kept in the directories /usr/lib/fmfonts, and in the
  287. sub-directories of /usr/lib/X11/fonts.  Use a fixed pitch
  288. font or the results will be unpredictable.  If the font is
  289. compressed (has a ".Z" extension), omit the ".Z" in your
  290. filename specification.
  291.  
  292. "commentcolumn" sets the column at which C comments will
  293. be added by the <A-%> command.  The default is column 48.
  294.  
  295. "mapkey" lets you remap the commands to different keys.
  296. See the end of this document for a list of allowable key
  297. names, meta names, and command names.
  298.  
  299. "jotcruft" causes jot to try to write files with
  300. the name ".jotcruftXXX" in the current directory that contain
  301. information about the files being edited. (The XXX stands for
  302. your user id.
  303.  
  304. "autoindent" causes jot to match the indentation of the
  305. current line when the <Enter> key is pressed.  It is off by
  306. default.  This mode can be toggled with <A-Y>.
  307.  
  308. "linenumbers" turns on line numbering by default.
  309.  
  310. "cyclesearch" turns on cycle file searching by default.
  311. In this mode, searches run through all files in the reopen
  312. buffer before failing.
  313.  
  314. "nocase" makes case-independent search the default.
  315.  
  316. WindowHeader:
  317.  
  318. If your window manager has a header line, it contains
  319. the version number followed by the name of the file
  320. jot thinks you're editing.  If the file name is
  321. followed by an asterisk, it means that the file has
  322. been modified since it was read.  If you are defining
  323. a macro, or are in the middle of an incremental
  324. search, or in view-only mode, that information is also
  325. shown in the header.
  326.  
  327. DialogBoxes:
  328.  
  329. There are 4 kinds of dialog boxes; one displays a
  330. message for a short time and disappears; another
  331. requires a type-in followed by a carriage return, the
  332. third is the replace box, where you've got to fill in a
  333. search string, a replace string, and then click on the
  334. appropriate button.  Finally, there is a box that asks
  335. for confirmation of something, and you must answer
  336. either 'yes' or 'no' by clicking in the appropriate
  337. box.  Sometimes a dialog box appears with text in the
  338. type-in fields.  That text can be modified, or typing
  339. <C-u> deletes the text in the line.  If you want to
  340. abort a command when a dialog box is up, type <C-u> and
  341. <Enter>.  You can also type <A-v> to paste the
  342. contents of the cut buffer into a text entry field.
  343.  
  344. If you type <Esc> while you are typing in a file name,
  345. jot will attempt to do file name completion for UNIX
  346. files and directories.
  347.  
  348. If the dialog box requires a "yes" or "no" answer, and
  349. one of the boxes has a cross in it, typing <Enter> is
  350. the same as pressing that button.
  351.  
  352. OpeningFiles:
  353.  
  354. To visit a new file, use the Open command.  If Showcase
  355. is installed on your machine, it uses the Showcase file
  356. browser to get the file name, unless you have
  357. specifically turned it off in your .jotrc.  Otherwise, it
  358. uses the re-open dialog box.  The re-open dialog box
  359. presents a list of previously visited files and files on
  360. the command line.  When there is more than one file on
  361. this list, you are presented with the name of the next
  362. unvisited file or the last file you visited.  <Enter>
  363. goes to that file.  Any typing will throw away the
  364. suggested name and replace it with your typing.  <A-o>
  365. or <A-O> cycle through the list of other files you've
  366. visited or specified on the command line.  When you
  367. re-visit a file, jot will return you to the same view
  368. (line and selection) you had previously.
  369.  
  370. You can also re-open previously visited files using the
  371. ReOpen command in the File pull-down menu.  The roll-over
  372. menu names the files; clicking on the menu entry opens
  373. the previously-open file.
  374.  
  375. Cycle ReOpen <C-A-o> cycles though the previously open
  376. files, visiting them one after the other.
  377.  
  378. You can remove a file name from the ReOpen list using the
  379. Remove Buffer roll-over in the "File" pull-down menu.  This
  380. is useful if you use the <A-O> shortcut to cycle through
  381. file names, and you accidentally get a bad name in the
  382. list.  You can also remove file names that you're unlikely
  383. to visit in the session to speed up the search.
  384.  
  385. To open a new file without yet specifying its name, use
  386. the New command in the File pull-down menu or <A-n>.
  387.  
  388. PullDownMenu:
  389.  
  390. The left mouse button brings up the pull-down menus if
  391. it is pressed in the menu bar along the top of your
  392. jot window.  Speed key alternatives (Accelerators)
  393. appear at the right of the menu(when they exist).  
  394. Less-frequently used commands appear in the roll-over 
  395. sub-menus.
  396.  
  397. Accelerators
  398.  
  399. Jot uses now uses SGI standard menu accelerators 
  400. invoked with the Ctrl key.  If you'd like to use 
  401. the emacs-like accelerators invoked with the Alt
  402. key, set "oldaccelerators" or "oldstyle" in your 
  403. .jotrc file
  404.  
  405. Selection:
  406.  
  407. Click the left mouse button to place the cursor, or press
  408. down, sweep, and let up to select a region of text.  If,
  409. during selection, the cursor is moved above, below, or to
  410. the left or right of the window, the text scrolls, if it
  411. can.
  412.  
  413. SelectWord:
  414.  
  415. Double click with the left mouse to select a word.  If
  416. you hold down the left mouse after a double click
  417. while you sweep, your selection is made up of words
  418. rather than characters.  <C-leftmouse> selects lines.
  419.  
  420. Marks:
  421.  
  422. <A-M> sets a mark in a file, and <A-m> jumps to a mark.
  423. If there is a command multiplier between 0 and 9 inclusive,
  424. marks 0 though 9 are set or jumped to.  Without a command
  425. multiplier, <A-M> and <A-m> refer to any mark.  The marks
  426. move around appropriately with character insertion and
  427. deletion.  Typing <A-m> repeatedly cycles through all
  428. marks.  A command multiplier before <A-m> jumps to a
  429. specific mark.
  430.  
  431. Marks are displayed as blue numbers in the scroll bar.
  432.  
  433. <C-A-m> deletes the mark with the lowest number.  If it is
  434. preceded by a command multiplier, then that particular mark
  435. is deleted.  <A-5><C-A-m> deletes mark 5, for example.
  436.  
  437. <S-rightmouse> in the scroll bar sets mark 0 at the current
  438. cursor position.  Clicking <rightmouse> in the right scroll
  439. bar jumps to the nearest mark to the cursor in the scroll bar.
  440.  
  441. ExtendSelection:
  442.  
  443. To extend a selection, hold the shift key down before you
  444. press the left mouse button.  If a region of text is
  445. selected, only the textpointer nearer the cursor will
  446. move, so you can adjust just one end of the selection.
  447. If you use the middle mouse in the same way, the
  448. selection will be changed by words instead of by
  449. characters.  Similarly for lines and paragraphs.
  450.  
  451. You can extend the selection to a pattern specified for
  452. a search or regular expression search, both forward and
  453. backward.  Whereas <A-f> searches and selects the match,
  454. <A-e> extends the selection to the matched search string.
  455. The correspondence between the search commands and
  456. extend selection by search commands is:
  457.  
  458.     <A-f> corresponds to <A-e>
  459.     <A-F>         <A-E>
  460.     <C-A-f>         <A-C-e>
  461.     <C-A-F>         <A-C-E>
  462.     <A-b>         <A-C-b>
  463.     <A-B>         <A-C-B>
  464.  
  465. <A-C-J> extends the selection to the end of the line number
  466. given (linenumber can be given with the command multiplier).
  467.  
  468. ParenthesisMatching:
  469.  
  470. The commands <A-[> and <A-]> expand the currently-
  471. selected region to the smallest enclosing balanced
  472. bracketed region, where brackets are defined as '(',
  473. ')', '[', ']', '{', and '}'.  Repeated applications of
  474. this operation increase the size of the selected
  475. region.  If it is impossible to find an enclosing
  476. region, the selection is unaffected.  For example, if
  477. "ddd" is selected in the following line:
  478.  
  479. { abc { def () a ( [ ddd ] [ fg ] ) {} } },
  480.  
  481. then repeated applications will select the following
  482. regions:
  483.  
  484. [ ddd ]
  485. ( [ ddd ] [ fg ] )
  486. { def () a ( [ ddd ] [ fg ] ) {} }
  487. { abc { def () a ( [ ddd ] [ fg ] ) {} } }
  488.  
  489. If a single bracket character (any of the 6) is selected,
  490. the command simply selects the matching one.
  491.  
  492. If you're viewing this file in jot, try out various
  493. initial selections.  If the brackets in the file don't
  494. match, the results are hard to describe.
  495.  
  496. Editing:
  497. CutCopyPaste:
  498. DragSelection:
  499.  
  500. Cut and Copy in the pull-down menu manipulate the selected
  501. region, and both place a copy in the cut buffer.  Paste
  502. replaces the content of the selected region with the
  503. contents of the cut buffer.  The cut buffer is kept in
  504. the file /tmp/.cutbuffer, so that you can cut and paste
  505. between two jot sessions.  It doesn't work between the shell
  506. windows and jot, but you can use the X mechanism for that.
  507.  
  508. There's a shortcut for a copy-paste or a cut-paste
  509. operation.  <C-rightmouse> copies the selection into
  510. the cutbuffer, and pastes it where ever the cursor is
  511. when the mouse button is released.  <S-rightmouse> does
  512. the same thing, but cuts the selection instead.
  513.  
  514. XWindowsCutbuffer:
  515.  
  516. XCut, XCopy, and XPaste cut, copy, and paste to the X
  517. cut buffer when running X windows on software release
  518. 4.0 or later.  The X cutbuffer is independent of jot's
  519. regular cut buffer.  Whenever you make a selection in
  520. jot, the selection is made the current X selection, and
  521. can be used by other processes that use the X selection
  522. mechanism.
  523.  
  524. ShowCutBuffer:
  525.  
  526. <A-S-.> displays the first few lines of the current
  527. contents of the (non-X) cutbuffer.
  528.  
  529. AppendToCutBuffer:
  530.  
  531. You can append stuff to the cut buffer with the <A-z>
  532. command.  It is just like copy, except that the text
  533. selected is just appended to the current contents of
  534. the cut buffer.
  535.  
  536. TypingCharacters:
  537.  
  538. Typed characters insert after the cursor, after deleting
  539. the selected region.  Backspace (or the delete key)
  540. deletes the selected region if it is non-empty, or
  541. deletes the character before the cursor.  You can insert
  542. any ascii character between (and including) <space> and
  543. '~', newline, tab, or formfeed (<C-l>).
  544.  
  545. The <Delete> key is slightly different from the backspace
  546. key.  If the character before the cursor is a tab, <Delete>
  547. first converts the tab character to the appropriate number
  548. of spaces, and then deletes one of those spaces.
  549.  
  550. ScrollingThroughText:
  551.  
  552. View different parts of the file using the left mouse
  553. button in the scroll bar, or by clicking in the two boxes
  554. at the bottom of the bar.  Holding the button down in the
  555. two lower boxes causes the scroll to be continuous.  The
  556. pink region in the scroll bar shows the selected region.
  557.  
  558. If you are scrolling and move the cursor more than 100
  559. pixels outside the window, the scroll box jumps back to
  560. the original position.
  561.  
  562. The arrow keys (in the cluster between the keyboard and
  563. the numeric key pad) move you around in the file.  If the
  564. <Ctrl> key is pressed when the right or left arrow key is
  565. pressed, the cursor is moved by words.
  566.  
  567. LongLines:
  568.  
  569. The easiest way to pan left and right (and up and
  570. down) is to use the right mouse button with the Alt
  571. and Ctrl keys.  Press it down, move it, and release it
  572. when you get the view you want.
  573.  
  574. For long lines, you can scroll left and right using the
  575. <C-A-leftarrow> and <C-A-rightarrow> button combinations.
  576.  
  577. JumpToLineNumber:
  578.  
  579. The Jump command takes a line number from a dialog box,
  580. and jumps to that line.  The first line in the file is
  581. line 1.  There is a quick way to do this -- hold the
  582. alt key down while you type the line number, and then,
  583. with the alt key still down, type a 'j'.  See the
  584. section on repeat counts, below.  You can also invoke
  585. jot with the "-l" option to begin a session at a
  586. particular line of a file.
  587.  
  588. Jump_to_column:
  589.  
  590. <A-C-j> works like jump to line, above.
  591.  
  592. ShowLineNumber:
  593.  
  594. To find the current line number, use <A-.>.  This will
  595. display the line number, the current character position,
  596. and the current column (which may be different, since
  597. there may be tabs).
  598.  
  599. SearchingForText:
  600. ReverseSearch:
  601.  
  602. The search command is case-dependent for the text
  603. entered via the dialog box.  (The speed key for search
  604. is <A-f>, <A-f> repeats the search for the same string,
  605. and <A-F> == <A-S-F> asks for a new search string.)
  606. The repeat search command checks to see if there is
  607. some selected text on a single line.  If so, it
  608. searches for that rather than the previous search
  609. string.
  610.  
  611. The search mode can be toggled to case-independent with the
  612. <A-y> command.
  613.  
  614. You can search in reverse in the same way with <A-B> (ask)
  615. and <A-b> (don't ask for the search pattern unless it's
  616. necessary).
  617.  
  618. In incremental search mode, each character you type
  619. advances your selection in the buffer to the next
  620. matching occurrence.  <backspace> undoes one step of
  621. the incremental search.  <Esc>, <Enter>, or any other
  622. command except repeat search gets you out of
  623. incremental search mode.
  624.  
  625. Ctags
  626.  
  627. If you have used the UNIX ctags command to make a file called
  628. tags in the current directory, jot can use this file with
  629. the JumpToCtag command <A-J>.  It is like search in that
  630. it uses the selected word, or if there is no selection, it
  631. asks for the function name.  You will be deposited in the
  632. correct file on the correct line.
  633.  
  634. QueryReplace:
  635.  
  636. The Paste/Search command <A-g> does a Paste operation, and
  637. then repeats the last search.  You can do query replace
  638. with this.
  639.  
  640. RegularExpressions:
  641.  
  642. You can search for regular expressions that are restricted
  643. to a single line using <C-A-f> (search) and <C-A-F>
  644. (repeat search).
  645.  
  646. There is a Paste/RegExpSearch <C-A-g> command for regular
  647. expressions that corresponds to the Paste/Search command
  648. for normal search.
  649.  
  650. There's a regular expression replace command as well -- see
  651. the reference manual.
  652.  
  653. BackwardTab:
  654.  
  655. <S-Tab> deletes white space before the cursor to the last
  656. tab stop.
  657.  
  658. Indentation:
  659.  
  660. The Indent and Outdent commands indent (or outdent) the
  661. selected set of lines by 4 characters.  Indent is
  662. <A-i> and outdent is <A-I>.  If there is a command
  663. multiplier, Indent and Outdent use that number as the
  664. number of columns.
  665.  
  666. ChangingCase:
  667.  
  668. Lowercase and Uppercase convert the selected region to
  669. lowercase or uppercase.  If no region is selected, a
  670. select word is performed around the cursor first.  The
  671. speed key combinations for changing case are <A-U>,
  672. <A-L>, and <A-C>, for uppercase, lowercase, and
  673. capitalize, respectively.
  674.  
  675. InsertingFiles:
  676.  
  677. The insert file command inserts the named file to replace
  678. the selected region.  <C-I> is the speed key combination
  679. to insert a file.  Insert file uses the browse gizmo
  680. unless it is turned off in your .jotrc preferences file.
  681.  
  682. NonStandardCharacters:
  683.  
  684. Weird characters (unfortunately, including the
  685. form-feed command) appear in your file as a box with an
  686. 'x' inside, followed by two hex digits representing the
  687. ASCII value.  Weird characters can be typed in by using
  688. a command multiplier followed by the <Esc> key.  Thus,
  689. typing <A-8> <Esc> inserts an ASCII 8, or literal
  690. backspace, into your file.  Weird characters can be
  691. selected, cut, and pasted.  You can also enter weird
  692. characters using the <C-v> literal escape.  The character
  693. following a <C-v> is inserted in the file.  To insert
  694. a backspace character, type <C-v><Backspace>.  If the
  695. Alt key is held down while the second character is typed,
  696. the high-order bit of the character is turned on.  Thus,
  697. to insert a 0x82 (= high bit + control-B), type:
  698. <C-v><A-C-b>.  To enter a control-V, type: <C-v><C-v>.
  699.  
  700. Non-standard characters except for nul (= 0x00) and the
  701. newline character can be used in search or search/replace
  702. patterns.  Unfortunately, they just show up as the
  703. "*" character in the dialog boxes.
  704.  
  705. ReformattingParagraphs:
  706.  
  707. The reformat command reformats all selected paragraphs
  708. (determined by having 2 newlines in a row) to 72
  709. columns.  It just uses the UNIX command fmt.  Use the
  710. "margin" option in your .jotrc to change the number of
  711. columns.
  712.  
  713. SearchAndReplace:
  714.  
  715. The replace command replaces all occurrences of the
  716. searched-for string by the replacement string from the
  717. cursor to the end of the file.  Any occurrences of the
  718. search string above the cursor are not modified.
  719. Replacement is always case-sensitive.  After specifying
  720. the search or replace string, you can click with the
  721. mouse in the other string or or type return to edit the
  722. next string.  If you are editing the replacement string
  723. return is the same as the "Do It" button.  The <Esc>
  724. key aborts.  The only editing commands are typing
  725. characters, backspace, and <C-u> (delete line).
  726. Replacing something with nothing is legal; be careful.
  727. Replacing nothing with something is not.
  728.  
  729. There is a version of the replace command suitable for
  730. macros invoked by <C-R>.  After you type <C-R>, type
  731. the contents of the replacement string terminated by a
  732. newline.  The replacement will then take place, using
  733. the previous search string as the string to be replaced.
  734.  
  735. The replace command can be bounded to the current selection
  736. with the bounded replace command <C-R>.
  737.  
  738. Regular expression replace is <C-A-r>.  The search string
  739. is a regular expression with (possibly) parts of the
  740. pattern in parentheses followed by $#, where # is between
  741. 0 and 9.  Then if $# appears in the replace string, the
  742. matching part of the search string is substituted for it.
  743. Use '\' to literal escape the $ character in replace
  744. strings.
  745.  
  746. Bounded regular expression replace is invoked with <C-A-R>.
  747.  
  748. SearchMultipleFiles:
  749.  
  750. Toggle on cycle file search using the Misc pulldown menu,
  751. and searches (and search+paste commands) will not fail until
  752. they have searched through all the files in the reopen
  753. buffer.
  754.  
  755. WordWrap:
  756.  
  757. If word wrap is turned on, either from the .jotrc file,
  758. or using <A-w>, newlines are automatically added to
  759. lines if you type past the margin at the end of the
  760. line.  The newlines replace the best possible space
  761. (that nearest to, yet before, the margin.  <A-w>
  762. toggles word wrap on and off.
  763.  
  764. LineNumbers:
  765.  
  766. <C-A-l> toggles the display of line numbers in blue at
  767. the left edge of the screen.  At present, jot will only
  768. do this correctly for files with fewer than 100000 lines.
  769.  
  770. Filters:
  771.  
  772. A command similar to the search command is the filter
  773. command.  It applies an arbitrary shell filter to the
  774. selected text, and returns the results to the cutbuffer
  775. Invoke it with <A-P>.
  776.  
  777. If you want to return the results of the filter to the
  778. shell instead of the cutbuffer, use <C-A-P>.
  779.  
  780. FilterExamples:
  781.  
  782. "sort" is a useful filter, but be sure to select
  783. complete lines.
  784.  
  785. "spell" puts a list of suspected misspellings into the
  786. cut buffer.  Be sure that your selection of text ends
  787. with a newline, or spell will fail.
  788.  
  789. You can use filters like "date" that simply insert data
  790. into the file.  You probably want an empty selection
  791. before you do this.
  792.  
  793. "tee" can be used to save selected portions of text to a
  794. file (use the filter command "tee filename").
  795.  
  796. "fmt" can be used directly for reformatting regions of
  797. text to different margins, rather than messing around
  798. with the margin option (use "fmt -40" for 40 column
  799. formatting).
  800.  
  801. "cb" invokes the C beautifier on C source code.  You
  802. probably want to do a "Select All" first.
  803.  
  804. "lp" prints the selected text.
  805.  
  806. "tr" may be useful.
  807.  
  808. "bc" will evaluate an expression if you remember to send
  809. along a trailing newline.
  810.  
  811. "/bin/mail" will send selected text to somebody; for
  812. example, type in "bin/mail davis" for your filter.
  813.  
  814. Remember that if you screw up, undo is available.
  815.  
  816. There is a command <A-C-p> that uses the contents of the
  817. cutbuffer for the name of the filter.  This is suitable
  818. for using filters in macros.
  819.  
  820. Macros:
  821.  
  822. To define a macro, hold down the Ctrl key and type one
  823. of the keys F1 - F12 above the main keyboard.  Any keys
  824. you type will then be included in the macro.  To end
  825. the macro definition, hold down Ctrl, and type the same
  826. key.
  827.  
  828. To invoke your macro, simply type the key (without the
  829. Ctrl button).  Macros can only be made up of keystrokes
  830. and repeat counts; no mouse selections.  Macros can call
  831. each other, but not circularly.  There is a limit of
  832. about 400 keystrokes in a macro definition.
  833.  
  834. To save your current set of macros, use the <C-A-M>
  835. command.  The macros are saved in a file called
  836. ~/.jotmacs which is read every time you enter jot.
  837.  
  838. See the section on filters to learn how to use a filter
  839. command from the cutbuffer in a macro.
  840.  
  841. You can get the current file name using <A-#>.  This is
  842. sometimes useful in macro definition.
  843.  
  844. The commands <A-k>, <A-K>, and <C-A-k> (TPs to marks,
  845. Marks to TPs, and Swap Marks and TPs,
  846. respectively), are good for saving the selection during
  847. a macro (especially when using a filter from the cutbuffer).
  848. The marks used are the two most recently set.
  849.  
  850. UndoCommand:
  851.  
  852. Undo can undo a series of operations -- as many as will
  853. fit in the undo buffer.  Typically, commands fill from
  854. 1 to 4 slots each, depending on how complicated they
  855. are.  Replace to end of file can use a lot.  The buffer
  856. has 2000 slots, and that is the limit on how far you
  857. can back up.  You can change this constant from 2000
  858. using the "undobuffersize" option in your .jotrc
  859. file.  The only operations that cannot be undone are
  860. file reads.  If you undo past a "Save" command, you will
  861. be warned that the file on your disk has changes beyond
  862. those reflected in your buffer.  It's up to you to take
  863. appropriate action.
  864.  
  865. RedoCommand:
  866.  
  867. The Redo command undoes the operation of the Undo command.
  868. You can redo any number of undo operations.
  869.  
  870. RepeatLastCommand:
  871.  
  872. The <Insert> key re-types the last sequence of characters
  873. you typed, including the backspace key, so if you type
  874. "<Backspace><Backspace>ABC", and then move the cursor and
  875. type the <Insert> key, the two characters before the cursor
  876. will be replaced by "ABC".  It also remembers the <C-D> and
  877. <A-Backspace> commands.
  878.  
  879. RepeatCounts:
  880.  
  881. Most of the jot commands can be prefixed with a repeat
  882. count.  This can be done by holding down the alt key
  883. and typing a number.  For example, if you type <A-8>
  884. and then the character x, 8 x's will be inserted in
  885. your file at that point.  Multi-digit numbers are fine
  886. -- just hold down the alt key for all the digits.  For
  887. example, "<A-7> <A-7> <A-l>" will select 77 lines
  888. in your file, but "<A-7> 7 <A-l>" will insert 7 7's
  889. and select the one line.
  890.  
  891. If you don't prefix a command with a repeat count, the
  892. repeat count is assumed to be 1.
  893.  
  894. For most commands, the numeric prefix has an obvious
  895. meaning -- do the next thing that many times.
  896.  
  897. For many commands, the prefix makes no sense -- save file,
  898. visit file, quit, and many others.
  899.  
  900. The file prefix has a special meaning in two cases:
  901. reformat region and indent (or outdent).  For reformat
  902. region, the prefix is the number of columns to use for
  903. reformatting, and overrides the default.  If the repeat
  904. count is 1, the default margin is used.  For
  905. indentation, the count is used for the number of
  906. columns to indent (or outdent).  If the repeat count is
  907. 1, indentation (outdentation) is set to 4 columns.
  908.  
  909. Basically any command resets the repeat count to 1.  If
  910. you accidentally type the wrong number, just click with
  911. the mouse on top of the cursor to reset the count.
  912.  
  913. ElectricCMode:
  914.  
  915. In this mode (entered via the "Misc" pull-down menu,
  916. or via a setting in your .jotrc file), jot interprets
  917. the <Enter> key differently. It also flashes balancing
  918. parentheses, brackets, and braces when the closing one
  919. is typed.  The tab size is set to 4, and when you type
  920. a comma, a space is automatically added after the
  921. comma.  Unless you manually turn it on from the
  922. pull-down menu, it only takes effect in files with
  923. suffixes of ".c", ".h", ".l", ".y", ".c++", ".C++",
  924. and ".C".
  925.  
  926. If you wish to type one of the above electric characters
  927. without special effects in electric-C mode, hold down the
  928. <Ctrl> key while you type the character.
  929.  
  930. In electric-C mode, jot tries to notice when you are
  931. typing a block comment and to handle the asterisks and
  932. indentation properly.  Thus if your cursor is at the
  933. end of the second line below:
  934.  
  935.     /* This is the start
  936.      * of a multi-line comment
  937.      */
  938.  
  939. and you press the <Enter> and the 'x' key, your cursor
  940. will be placed at the end of the third line below:
  941.  
  942.     /* This is the start
  943.      * of a multi-line comment
  944.      * x
  945.      */
  946.  
  947. (The x above illustrates that a trailing space is added.)
  948.  
  949. In addition, in electric-C mode, the characters that
  950. make up a word differ slightly from those in normal
  951. typing.  For example, the '_' character is part of a
  952. word in electric-C mode.
  953.  
  954. <A-%> inserts a C comment at the end of the current line.
  955. Jot advances to the comment column with tabs and spaces,
  956. or, if the line extends beyond the comment column, jot
  957. adds a single tab at the end of the line, and then adds
  958. the comment.  The comment column is 48, and can be
  959. changed in your .jotrc file.
  960.  
  961. SplitWindow:
  962.  
  963. The command <A-V> (Split windows in the "Misc"
  964. pull-down menu) runs a new copy of jot on the same
  965. file you are viewing.  Both windows are half the size
  966. of the original, and the lower window is opened in
  967. view-only mode.  There is a command in the "Misc"
  968. window to toggle out of view- only mode, but beware --
  969. the two jots that are running are completely
  970. independent, and neither one knows about changes made
  971. in the other.
  972.  
  973. The new window inherits the reopen file list from the
  974. parent window. 
  975.  
  976. ViewOnlyMode:
  977.  
  978. Jot can be invoked in view-only mode by starting it up with
  979. the "-v" flag, or it can be put in that mode using the
  980. ToggleViewOnly command under the "Misc" pull-down.  In this
  981. mode, you cannot modify the buffer.  You can toggle in and
  982. out of the mode using the pull-down menu entry.
  983.  
  984. Tutorial:
  985.  
  986. You can get the "Jot Tutorial for Non-Morons" via the
  987. Help pull-down menu.  It works just like the help
  988. command.  Read the tutorial in the tutorial window,
  989. and try things out in the regular jot window.  The
  990. tutorial file should be in /usr/local/doc/jot.tutorial.
  991.  
  992. SpeedKeys:
  993.  
  994. Following is a table of the speed key commands.  THERE IS
  995. A DIFFERENCE BETWEEN UPPERCASE AND LOWERCASE LETTERS.  In
  996. the table, <C-A> stands for <C-S-A>, <C-a> for
  997. <C-a> (no shift), etc.
  998.  
  999. Command                   Speed-key(s)
  1000.  
  1001. Help (show this file)        <A-h>
  1002. Undo                <A-u>
  1003. Redo                <A-r>
  1004. Repeat last command        <Insert>
  1005. Quit                <A-q>
  1006. Quit no matter what        <A-Q>
  1007.  
  1008. Select all            <A-a>
  1009. Select bracketed region        <A-[> or <A-]>
  1010. Select word            <double-leftmouse>
  1011. Select line            <A-l> or <C-leftmouse>
  1012. Select paragraph        <A-p> or <C-double-leftmouse>
  1013. Extend selection        <S-leftmouse>
  1014. Extend selection word        <S-double-leftmouse>
  1015. Extend selection line        <C-S-middlemouse>
  1016. Extend selection paragraph    <C-S-leftmouse> 
  1017.  
  1018. Extend selection right        <S-rightarrow>
  1019. Extend selection left        <S-leftarrow>
  1020. Extend selection right word    <S-C-rightarrow>
  1021. Extend selection left word    <S-C-leftarrow>
  1022. Extend selection to EOL        <S-A-rightarrow>
  1023. Extend selection to BOL        <S-A-leftarrow>
  1024. Extend selection up line    <S-uparrow>
  1025. Extend selection down line    <S-downarrow>
  1026. Extend selection up paragraph    <S-C-uparrow>
  1027. Extend selection down paragraph    <S-C-downarrow>
  1028. Extend selection to top of file    <S-A-uparrow>
  1029. Extend selection to end of file    <S-A-downarrow>
  1030.  
  1031. Set mark            <A-M>
  1032. Jump to mark            <A-m>
  1033. Delete mark            <A-C-m>
  1034. TPs to marks            <A-k>
  1035. Marks to TPs            <A-K>
  1036. Swap marks and TPs        <C-A-k>
  1037. Jump to ctag            <A-J>
  1038.  
  1039. Cut region to cutbuffer        <A-x>
  1040. Copy region to cutbuffer    <A-c>                    
  1041. Paste cutbuffer            <A-v>
  1042. Paste/Search            <A-g>
  1043. Paste/Reg Exp Search        <C-A-g>
  1044. Append to cutbuffer        <A-z>
  1045. Cut region to X cutbuffer    <C-A-x>
  1046. Copy region to X cutbuffer    <C-A-c>                    
  1047. Paste X cutbuffer        <C-A-v>
  1048.  
  1049. Forward search            <C-S> or <A-f>
  1050. Extend select search        <A-e>
  1051. Forward search (new string)    <C-s> or <A-F>
  1052. Extend select srch (new string)    <A-E>
  1053. Reverse search            <A-b>
  1054. Extnd sel rev search        <A-C-b>
  1055. Reverse search (new string)    <A-B>
  1056. Ext sel rev srch (new string)    <A-C-B>
  1057. Regular expression (regex) srch    <C-A-f>
  1058. Ext sel regex srch        <C-A-e>
  1059. Regex search (new string)    <C-A-F>
  1060. Ext sel regex srch (new string) <C-A-E>
  1061. Replace to end of file        <C-r>
  1062. Bounded replace            <C-R>
  1063. Keyboard replace        <C-A-w>
  1064. Regular expression replace    <C-A-r>
  1065. Bounded regex replace        <C-A-R>
  1066. Toggle search case        <A-y>
  1067.  
  1068. Save file            <A-s>
  1069. Save and quit            <C-A-S>
  1070. Save as file            <A-S>
  1071. Open file            <A-o>
  1072. ReOpen file            <A-O>
  1073. Cycle ReOpen file        <C-A-o>
  1074. New file            <A-n>
  1075. Save macro defs            <A-C-M>
  1076.  
  1077. Scroll right            <A-C-rightarrow>
  1078. Scroll left            <A-C-leftarrow>
  1079. Scroll up            <A-C-uparrow>
  1080. Scroll down            <A-C-downarrow>
  1081. Pan                <rightmouse>
  1082. Copy and drop            <C-rightmouse>
  1083. Drag and drop            <S-rightmouse>
  1084. Move to beginning of file    <Home> or <A-uparrow>
  1085. Move to end of file        <End> or <A-downarrow>
  1086. Move to beginning of selection    <A-Home>
  1087. Move to end of selection    <A-End>
  1088. Up a page            <PageUp>
  1089. Down a page            <PageDown>
  1090. Up half a page            <C-PageUp>
  1091. Down half a page        <C-PageDown>
  1092.  
  1093. Move forward a character    <C-f> or <rightarrow>
  1094. Move back a character        <C-b> or <leftarrow>
  1095. Move forward word        <C-rightarrow>
  1096. Move back word            <C-leftarrow>
  1097. Move to beginning of line    <C-a> or <A-leftarrow>
  1098. Move to end of line        <C-e> or <A-rightarrow>
  1099. Move to previous line        <C-p> or <uparrow>
  1100. Move to next line        <C-n> or <downarrow>
  1101. Move to end of paragraph    <C-downarrow>
  1102. Move to start of paragraph    <C-uparrow>
  1103. Jump to and select line        <A-j>
  1104.  
  1105. Newline plus indent        <C-j>
  1106. Transpose characters        <C-t>
  1107. Center selected lines        <C-c>
  1108. Delete next character        <C-d>
  1109. Kill to end of line        <C-k>
  1110. Kill to end of word        <A-d>
  1111. Kill to beginning of word    <A-Backspace>
  1112. Kill to beginning of line    <C-u>
  1113. Open new line after cursor    <C-o>
  1114. Open new line before cursor    <C-O>
  1115. Backward tab            <S-Tab>
  1116. Insert C comment        <A-%>
  1117.  
  1118. Apply filter            <A-P>
  1119. Filter with cutbuffer        <A-C-p>
  1120. To lowercase            <A-L>
  1121. To uppercase            <A-U>
  1122. Capitalize word (region)    <A-C>
  1123. Indent region 4 spaces        <A-i>
  1124. Outdent region 4 spaces        <A-I>
  1125. Reformat paragraphs        <A-R>
  1126. Begin/end macro def        <C-F*>    (1 <= * <= 12)
  1127. Call macro            <F*>    (1 <= * <= 12)
  1128. Toggle automatic indentation    <A-Y>
  1129. Toggle wordwrap            <A-w>
  1130. Toggle Electric-C mode        <A-C-W>
  1131. Toggle line numbers        <A-C-l>
  1132. Show line number        <A-.>
  1133. Show cut buffer            <A-S-.>
  1134. Insert file name        <A-S-#>
  1135. Toggle view only mode        <A-V>
  1136. Split window            <A-W>
  1137.  
  1138. Insert raw newline        <C-Enter>
  1139. Insert raw comma        <C-,>
  1140. Insert raw tab            <C-Tab>
  1141.  
  1142. CommandRemapping:
  1143.  
  1144. In the .jotrc file, you can include a line like:
  1145.  
  1146. mapkey VKEY CTRLSHIFT XPASTECMD
  1147.  
  1148. This will make <C-S-V> map to the X paste command.
  1149.  
  1150. You can customize your jot user interface with this
  1151. command.  Jot won't let you change the meanings of
  1152. the shift, ctrl, and alt keys, nor the meanings of
  1153. <A-0>, <A-1>, ..., <A-9>.  It's a bad idea to remap
  1154. the standard characters, since there's currently no
  1155. way to make some key combination send an "x", for
  1156. example.
  1157.  
  1158. The first entry after mapkey is the name of the key
  1159. as in /usr/include/device.h.  Do not use the names
  1160. like "BUT62"; use the names like "AKEY".  The second
  1161. entry is chosen from:
  1162.  
  1163.     NONE -- no meta keys
  1164.     SHIFT
  1165.     CTRL
  1166.     CTRLSHIFT
  1167.     ALT
  1168.     ALTSHIFT
  1169.     ALTCTRL
  1170.     ALTCTRLSHIFT
  1171.  
  1172. The final entry is a jot command name.  Here they are.  The
  1173. final name, ZERO, unmaps a key, so that pressing it causes
  1174. no command to be sent.
  1175.  
  1176.     APPENDTOBUFFERCMD - append selection to cut buffer
  1177.     ASKFILTERCMD - get a filter to apply to the selection
  1178.     ASKREGEXSEARCHCMD - regular expression search
  1179.     ASKREVSEARCHCMD - reverse search
  1180.     ASKSEARCHCMD - forward search
  1181.     ASKSHELLFILTERCMD - filter; results to shell
  1182.     BACKSPACECMD - backspace
  1183.     BACKSPACENUKECMD - backspace hacking tabs to spaces
  1184.     BACKTABCMD - backward tab
  1185.     BACKWORDCMD - move the cursor back a word
  1186.     BEGINFILECMD - jump to the beginning of the file
  1187.     BEGINLINECMD - move cursor to the beginning of the line
  1188.     BOUNDEDREPLACECMD - replace only in current selection
  1189.     BOUNDEDREGEXREPLACECMD - bounded regular expression replace
  1190.     CALLF10MACROCMD - call macro F10
  1191.     CALLF11MACROCMD - call macro F11
  1192.     CALLF12MACROCMD - call macro F12
  1193.     CALLF1MACROCMD - call macro F1
  1194.     CALLF2MACROCMD - call macro F2
  1195.     CALLF3MACROCMD - call macro F3
  1196.     CALLF4MACROCMD - call macro F4
  1197.     CALLF5MACROCMD - call macro F5
  1198.     CALLF6MACROCMD - call macro F6
  1199.     CALLF7MACROCMD - call macro F7
  1200.     CALLF8MACROCMD - call macro F8
  1201.     CALLF9MACROCMD - call macro F9
  1202.     CENTERLINECMD - center selected lines
  1203.     COPYCMD - copy selection to cut buffer
  1204.     CRAFTERCURSORCMD - add newline after the cursor
  1205.     CURSORDOWNCMD - move cursor down a line
  1206.     CURSORLEFTCMD - move cursor left a character
  1207.     CURSORRIGHTCMD - move cursor right a character
  1208.     CURSORUPCMD - move cursor up a line
  1209.     CUTBUFFILTERCMD - use the cut buffer as a filter
  1210.     CUTCMD - cut selection into cut buffer
  1211.     CYCLEFILECMD - cycle to next file
  1212.     CYCLESEARCHCMD - cycle through files on search
  1213.     DEFF10MACROCMD - define macro F10
  1214.     DEFF11MACROCMD - define macro F11
  1215.     DEFF12MACROCMD - define macro F12
  1216.     DEFF1MACROCMD - define macro F1
  1217.     DEFF2MACROCMD - define macro F2
  1218.     DEFF3MACROCMD - define macro F3
  1219.     DEFF4MACROCMD - define macro F4
  1220.     DEFF5MACROCMD - define macro F5
  1221.     DEFF6MACROCMD - define macro F6
  1222.     DEFF7MACROCMD - define macro F7
  1223.     DEFF8MACROCMD - define macro F8
  1224.     DEFF9MACROCMD - define macro F9
  1225.     DELETEMARKCMD - delete mark
  1226.     DELETENEXTCHARCMD - delete character after cursor
  1227.     DOWNPARAGRAPHCMD- move cursor down a paragraph
  1228.     ELECTRICCOMMENTCMD - add a C comment
  1229.     ENDFILECMD - jump to the end of the file
  1230.     ENDLINECMD - move cursor to the end of the line
  1231.     ESASKSEARCHCMD - extend selection to search string
  1232.     ESASKREGEXSEARCHCMD - extend selection to regex string
  1233.     ESASKREVSEARCHCMD - extend selection to reverse search
  1234.     ESBACKWORDCMD - extend selection back a word
  1235.     ESBEGINFILECMD - extend selection to top of file
  1236.     ESBEGINLINECMD - extend selection to beginning of line
  1237.     ESCURSORDOWNCMD - extend selection down a line
  1238.     ESCURSORLEFTCMD - extend selection left a character
  1239.     ESCURSORRIGHTCMD - extend selection right a character
  1240.     ESCURSORUPCMD - extend selection up a line
  1241.     ESDELETENEXTCHARCMD - delete selection plus next character
  1242.     ESDOWNPARAGRAPHCMD - extend selection to end of paragraph
  1243.     ESENDFILECMD - extend selection to the end of the file
  1244.     ESENDLINECMD - extend selection to the end of the line
  1245.     ESFWDWORDCMD - extend selection to next word
  1246.     ESGOTOLINECMD - extend selection to given line number
  1247.     ESREGEXSEARCHCMD - extend selection to regex search
  1248.     ESREVSEARCHCMD - extend selection to reverse search
  1249.     ESSEARCHCMD - extend selection to search string
  1250.     ESUPPARAGRAPHCMD - extend selection up a paragraph
  1251.     FIRSTUPPERCMD - first character in selection to uppercase
  1252.     FWDWORDCMD - move cursor forward a word
  1253.     GETLINERANGE - display the range of the selection
  1254.     GOTOCOLUMNCMD - go to column
  1255.     GOTOLINECMD - go to line
  1256.     GOTOMARKCMD - go to mark
  1257.     HALFPAGEDOWNCMD - go down half a page
  1258.     HALFPAGEUPCMD - go up half a page
  1259.     HELPCMD - display help
  1260.     INDENTCMD - indent selected lines
  1261.     INDENTNEWCMD - insert newline with indentation
  1262.     INSERTBRACECMD - insert the '{' character
  1263.     INSERTFILECMD - insert the contents of a file
  1264.     INSERTFILENAMECMD - insert the name of this file as text
  1265.     INSERTRAWNEWLINECMD - insert a newline character
  1266.     INSERTTABCMD - insert a tab character
  1267.     JUMPTOTAGCMD - jump to tag
  1268.     KBDREPLACECMD - replace command
  1269.     KILLBACKWORDCMD - kill word before cursor
  1270.     KILLTOBGNLINECMD - kill to beginning of line
  1271.     KILLTOEOLCMD - kill to end of line
  1272.     KILLWORDCMD - kill the next word
  1273.     LITERALESCAPE - use command count as ascii character 
  1274.     MARKSTOTPSCMD - put marks 8, 9 into text pointers
  1275.     NEWFILECMD - visit a new file
  1276.     OPENCMD - open a file
  1277.     OPENLINECMD - open a line after the cursor
  1278.     OPENPREVLINECMD - open a line before the cursor
  1279.     OUTDENTCMD - take away indentation from selected lines
  1280.     PAGEDOWNCMD - move down a screenful
  1281.     PAGEUPCMD - move up a screenful
  1282.     PARENMATCHCMD - select text enclosed in parentheses
  1283.     PASTEANDREGEXCMD - paste and repeat regular exp search
  1284.     PASTECMD - paste contents of cut buffer
  1285.     PASTENSEARCHCMD - paste and repeat search
  1286.     QUITCMD - quit
  1287.     QUITDAMMITCMD - quit without asking about dirty files
  1288.     REDOCMD - redo command
  1289.     REFORMATREGIONCMD - reformat the selected region
  1290.     REGEXREPLACECMD - regular expression replace
  1291.     REGEXSEARCHCMD - regular expression search
  1292.     REOPENCMD - reopen a previously visited file
  1293.     REPEATCMDCMD - repeat the last typein
  1294.     REPLACECMD - replace command
  1295.     REVSEARCHCMD - search backwards
  1296.     SAVEASCMD - save the buffer as a file with a new name
  1297.     SAVECMD - save the buffer
  1298.     SAVEMACRODEFSCMD - write out macro definitions
  1299.     SAVEQUITCMD - save the file and quit
  1300.     SCROLLDOWNCMD - scroll down
  1301.     SCROLLLEFTCMD - scroll left
  1302.     SCROLLRIGHTCMD - scroll right
  1303.     SCROLLUPCMD - scroll up
  1304.     SEARCHCMD - search command
  1305.     SELECTALLCMD - select entire buffer
  1306.     SELECTLINECMD - select the line
  1307.     SELECTPARAGRAPHCMD - select the paragraph
  1308.     SETMARKCMD - set a mark at the cursor
  1309.     SHOWCUTBUFCMD - show the contents of the cutbuffer
  1310.     SWAPMARKSTPSCMD - swap marks 8,9 with textpointers
  1311.     TOBEGINFILECMD - view beginning of file
  1312.     TOENDFILECMD - view end of file
  1313.     TOGGLEAUTOINDENTCMD - toggle automatic indentation
  1314.     TOGGLECASECMD - toggle whether search is case-dependent
  1315.     TOGGLENUMBERSCMD - toggle the display of line numbers
  1316.     TOGGLEELECCCMD - toggle to/from electric-C mode
  1317.     TOGGLEVIEWONLYCMD - toggle in/out of view-only mode
  1318.     TOGGLEWORDWRAPCMD - toggle word-wrap mode
  1319.     TOLOWERCMD - convert to lower case
  1320.     TOTP1CMD - view the first text pointer
  1321.     TOTP2CMD - view the last text pointer
  1322.     TOUPPERCMD - convert to upper case
  1323.     TPSTOMARKSCMD - put the text pointers into marks 8,9
  1324.     TRANSPOSECMD - transpose characters
  1325.     TUTORIALCMD - run the tutorial
  1326.     UNDOCMD - undo the last command
  1327.     UPPARAGRAPHCMD - move up a paragraph
  1328.     WINSPLITCMD - split window horizontally
  1329.     XCOPYCMD - copy to X cut buffer
  1330.     XCUTCMD - cut to X cut buffer
  1331.     XPASTECMD - paste from X cut buffer
  1332.     ZERO - disable normal action of this key
  1333.